﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_detalle.ascx.cs" Inherits="BoxScore.equipo._detalle" %>


<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" GridLines="None" ShowHeader="false" 
    DataSourceID="ObjectDataSource1">
    <Columns>
        <asp:TemplateField ShowHeader="False">
            <ItemTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="Image1" runat="server" Width="150px"
                                ImageUrl='<%# "~/Equipo/images/" +Eval("logo", "{0}") %>' 
                                AlternateText="Logo del Equipo" />    
                        </td>
                        <td>
                            <h1><asp:Label ID="Label1" runat="server" Text='<%# Eval("name", "{0}") %>'></asp:Label></h1>
                            <br />
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("description", "{0}") %>'></asp:Label>
                        </td>
                        
                    </tr>
                
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    SelectMethod="getDetallesEquipos" TypeName="BoxScore.Model.BoxScoreBD">
    <SelectParameters>
        <asp:QueryStringParameter DefaultValue="" Name="id" QueryStringField="equipo" 
            Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>


